<%@ page import="javaweb.test.Person" %>
<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.HashMap" %><%--
  Created by IntelliJ IDEA.
  User: 74098
  Date: 2021/7/18
  Time: 18:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    Person person = new Person();
  request.setAttribute("p", person);
    ArrayList<Object> arr1 = new ArrayList<>();
  HashMap<Object, Object> hashMap = new HashMap<>();
    hashMap.put("宋江",123);
    hashMap.put("qwe","123");

    request.setAttribute("str", arr1);
    request.setAttribute("hashMap",hashMap);
   arr1.add("123");
//    arr1.add(23);
//    arr1.add("123");
%>
<%="222"

%>


<%--${--%>
<%--p.age;--%>
<%--empty str;--%>
<%--str[0]--%>
<%--}--%>
<br>
${

hashMap
}

<br>
${
requestScope.hashMap
}
</body>
</html>
